package com.ys.ylideas.dao;



import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.ys.ylideas.entity.BaiUserContact;
import com.ys.ylideas.entity.UserEntity;

@Mapper
public interface AccountDao extends BaseDao<UserEntity> {

	List<UserEntity> checkAccount(long identifier);
	String getUserToken(long userId);
	void updateRFTokenByUserId(Map<String,Object> map);
	boolean saveForService(BaiUserContact e);
	
	/** 获取全部用户id*/
	List<Long> getAllUserId();
	
	UserEntity getUserById(Long id);
}
